import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  { path: '/notice', name: '今日事项', component: () => import('./components/notice.vue') },
  { path: '/order', name: '加班订餐', component: () => import('./components/order.vue') },
  { path: '/working-times', name: '填报工时', component: () => import('./components/working-times.vue') },
  { path: '/about', name: '关于', component: () => import('./components/about.vue') }
]

const router = new VueRouter({
  routes
})

export default router;